<%--
  @desc: 快撤理赔管理首页
  @author: xujin
  @create: 2014-4-29 下午 15:32
--%>
<%@ page contentType="text/html;charset=utf-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<style>
    td {
        height: 10px;
    }
    .grid .gridTbody .myimg td div {
        display: block;
        height: 500px;
        overflow: hidden;
        white-space: nowrap;
    }
    td img {
        width: 145px;
        height: 185px;
    }
    #photo div {
        height: 185px;
    }

</style>
<div class="pageContent" style="padding-top: 1px;" layoutH="0">
    <table class="table" width="100%">
        <tr>
            <td width="40" align="left">事故发生时间：</td>
            <td width="80" align="left"><fmt:formatDate value="${baseInfo.reportTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
            <td width="40" align="left">事故地点：</td>
            <td width="80" align="left" colspan="2">${baseInfo.position}</td>
        </tr>
        <tr>
            <td width="120" align="center" colspan="5">当事人基本信息</td>
        </tr>
        <tr>
            <td width="60" align="left">驾驶证号码</td>
            <td width="60" align="left">电话</td>
            <td width="40" align="left">车辆信息</td>
            <td width="60" align="left">事故类型</td>
            <td width="20" align="left">事故责任</td>
        </tr>
        <c:choose>
        	<c:when test="${baseInfo.handler == 2}">
        	  <tr>
        	  	<td colspan="5" rowspan="2" align="center">远程定责无需该信息</td>
        	  </tr>
        	</c:when>
        	<c:when test="${baseInfo.handler == 3 }">
        		<tr>
		            <td width="40" align="left">${baseInfo.licenseA}</td>
		            <td width="80" align="left">${baseInfo.telA}</td>
		            <td width="40" align="center" colspan="3" rowspan="2">事故理赔中心处理无需该信息</td>
		        </tr>
		        <tr>
		            <td width="40" align="left">${baseInfo.licenseB}</td>
		            <td width="80" align="left">${baseInfo.telB}</td>
		        </tr>
        	</c:when>
        	<c:otherwise>
        		<tr>
		            <td width="40" align="left">${baseInfo.licenseA}</td>
		            <td width="80" align="left">${baseInfo.telA}</td>
		            <td width="40" align="left">${baseInfo.lpnA}</td>
		            <td width="60" align="center" rowspan="2">${baseInfo.description}</td>
		            <td width="20" align="left">${liabilityA}</td>
		        </tr>
		        <tr>
		            <td width="40" align="left">${baseInfo.licenseB}</td>
		            <td width="80" align="left">${baseInfo.telB}</td>
		            <td width="40" align="left">${baseInfo.lpnB}</td>
		            <td width="20" align="left">${liabilityB}</td>
		        </tr>
        	</c:otherwise>
        </c:choose>
    </table>
    <table class="table" width="100%">

        <tr>
            <td width="145" align="left">车头方向照片：</td>
            <td width="145" align="left">车尾方向照片：</td>
            <td width="145" align="left">碰撞部位照片：</td>
            <td width="145" align="left">${baseInfo.lpnA}保险标志：</td>
            <td width="145" align="left">${baseInfo.lpnB}保险标志：</td>
        </tr>
        <tr>
            <td id="photo" width="145" align="left"><img alt="车头方向照片" src="${photoHead}"></td>
            <td id="photo" width="145" align="left"><img alt="车尾方向照片" src="${photoTail}"></td>
            <td id="photo" width="145" align="left"><img alt="碰撞部位照片" src="${photoBody}"></td>
            <td id="photo" width="145" align="left"><img alt="保险标志背面" src="${photoInsureA}"></td>
            <td id="photo" width="145" align="left"><img alt="保险标志背面" src="${photoInsureB}"></td>
        </tr>
    </table>
</div>
